package com.bg8loo.amateur.dao;

import com.bg8loo.amateur.pojo.Title;
import com.bg8loo.amateur.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;

@Mapper
public interface UserDao {
    //查询题库数据
    @Select("select id,studentName,account,password,role,email  from user_table where account= #{account}")
    User getUserByAccount(String account);
}
